package com.ssh.service;

import java.util.List;
import java.util.Map;

import com.ssh.dao.IUsersDao;
import com.ssh.model.Users;

public interface IUsersService {

	public abstract void addUsers(Users u);

	public abstract void delUsers(Users u);

	public abstract List<Users> findAll();
	
	public abstract List<Users> pageQuery(int start,int end);
	
	public abstract String count();

	public abstract List<Users> findById(Object id);

	public abstract void updateUsers(Users u);

	public abstract String register(String username,String password);

	public abstract Users login(String username, String password);

	public abstract IUsersDao getUsersDAO();

	public abstract void setUsersDAO(IUsersDao usersDAO);

}